package com.lighting.smssystem.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;

import javax.validation.constraints.Min;

/**
 * Author LeeMaster
 *
 * use to filter the company condition
 */
@Data
@ApiModel
public class CompanyFilter {

    @Min(10)
    @ApiModelProperty(name = "pageSize")
    private Integer pageSize = 10;

    @Min(1)
    @ApiModelProperty(name = "pageNum")
    private Integer pageNum = 1;

    @ApiModelProperty(name = "是否按照公司法人模糊查询")
    private Boolean legal;

    @ApiModelProperty(name = "是否按照公司省份模糊查询")
    private Boolean province;

    @ApiModelProperty(name = "是否按照公司市区模糊查询")
    private Boolean city;

    @ApiModelProperty(name = "是否按照公司经营范围模糊查询")
    private Boolean range;

    @ApiModelProperty(name = "模糊查询关键字")
    private String keyword;

}
